# 如果api返回的是json格式

# df = pd.read_json("https://api.exchangerate-api.com/v4/latest/USD")
# print(df.head())
#
a = 1
b = 2
c = a + b
print(c)

print("shangHai".title())

# import category_encoders as ce
# import pandas as pd
#
# # 示例数据
# df = pd.DataFrame({"city": ["东京", "大阪", "京都", "名古屋", "札幌", "福冈", "横滨"]})
#
# # 使用Binary Encoder
# encoder = ce.BinaryEncoder(cols=["city"])
# df_encoded = encoder.fit_transform(df)
#
# print(df)
# print(df_encoded)
